package com.his.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.his.domain.PicSource; 
 

public interface PicSourceDao {
	public List<PicSource> getPics(@Param("type")String type,@Param("puid") String puid,@Param("time") long time ,@Param("limit") int limit );
	public List<PicSource> getNewPic(@Param("type")String type,@Param("puid") String puid,@Param("time") long time ,@Param("limit") int limit );
	  public void addPdesc(@Param("pic")PicSource  pic);
     public void addPdesc(@Param("_pdesc")String pdesc,@Param("_puid") String  puid,@Param("_fname") String  fname); 
     //手动添加图片信息
     public void addManualPic(@Param("fileName") String fileName,@Param("path")String path,@Param("puid") String puid);
     //删除图片
     public void deletePic(@Param("fileName") String fileName);
}
